use "C:\Users\quinnd\Dropbox\XR Politics\replication files\dataverse upload\data files\section 1 voting\voting exchange rate data 15 July 2023.dta" 
xtset ifscode year
**table 3
**USA
tabstat underval91 if  ifscode==111 , s(mean sd)
***JPN
tabstat underval91 if  ifscode==158 , s(mean sd)
***AUS
tabstat underval91 if  ifscode==193 , s(mean sd)
***MEX
tabstat underval91 if  ifscode==273 , s(mean sd)
***IND
tabstat underval91 if  ifscode==534 , s(mean sd)